package cn.yh.nft.turbo.api.notice.response;

import cn.yh.nft.turbo.base.response.BaseResponse;
import com.github.houbb.heaven.reflect.api.IReturn;

/**
 * @ClassName: NoticeResponse
 * @Author: 草莓爱上啵啵
 */
public class NoticeResponse extends BaseResponse {

    public static class Builder{
        private NoticeResponse response;

        public Builder(){
            response = new NoticeResponse();
        }

        public Builder setCode(String code){
            response.setResponseCode(code);
            return this;
        }

        public Builder setMessage(String message){
            response.setResponseMessage(message);
            return this;
        }

        public Builder setSuccess(boolean success){
            response.setSuccess(success);
            return this;
        }

        public NoticeResponse build(){
            return response;
        }
    }
}
